package com.blog.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 网站图片文件相关的实体类
 *
 * @author wmb
 *
 * @since 2021-2-7
 */
@ApiModel("网站图片文件相关的实体类")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Attach implements Serializable {

    // 定义程序序列化ID
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty("文件类型")
    private String fileType;

    @ApiModelProperty("文件的地址")
    private String fileKey;

    @ApiModelProperty("创建人的id")
    private Integer createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;
}
